# 部署阶段 - 使用已存在的dist目录
FROM nginx:alpine
# 复制已编译的dist目录
COPY ./dist /usr/share/nginx/html/art-design
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]